Blog

ColdBox Unit Testing your Event Handlers!!

Luis Majano October 15, 2008

Spread the word

Luis Majano

October 15, 2008

Spread the word


Share your thoughts

With the advent of ColdBox 2.0.1 you are now able to unit test your event handlers, plugins, etc. I just completed a step by step guide on how to do this with the provided source in the bundle. Another interesting note is that the ColdBox Dashboard generates applications for you and yes, it also generates the unit tests for it. Unit Testing Handlers Guide So click on the link above to start unit testing your handlers.

Add Your Comment

(2)

Jun 01, 2007 17:59:02 UTC

by Adam Fortuna

This is extremely cool Luis. Brian was mentioning it the other day and sounds like a great step. Good work man!

May 15, 2019 13:43:00 UTC

by René Hochstrasser

Link does not work.

Recent Entries

Introducing bx-jwt: Enterprise-Grade JSON Web Tokens for BoxLang 🔐

Introducing bx-jwt: Enterprise-Grade JSON Web Tokens for BoxLang 🔐

JWT authentication is everywhere. But rolling it correctly — with proper algorithm enforcement, key management, clock skew handling, JWE encryption, and zero security footguns — is anything but trivial. Today, we're shipping bx-jwt, a production-ready JWT/JWE module for BoxLang that handles all of it out of the box, so you can focus on building, not fighting cryptography.

Luis Majano
Luis Majano
May 22, 2026
What “Modernize or Die” Really Means in 2026

What “Modernize or Die” Really Means in 2026

“Modernize or Die” is not about forcing teams into MVC, chasing trends, or rewriting every CFML application from scratch. It means making sure your applications, teams, and processes can survive the future: easier to maintain, test, secure, deploy, document, hire for, and evolve. In 2026, modernization is less about adopting the newest pattern and more about reducing business risk, protecting the value already built into your systems, and ensuring CFML applications remain credible, sustai...

Cristobal Escobar
Cristobal Escobar
May 22, 2026